home *** CD-ROM | disk | FTP | other *** search
XSetup plugin | 2002-10-16 | 1.3 KB | 51 lines |
- "FILE"="Xteq Systems X-Setup Plugin 6.0"
- "TYPE"="2"
- "COUNT"="1"
- "UIPATH 1"="Startup/Shutdown\Shutdown\Windows NT/2K/XP\20) Services Shutdown"
- "NAME"="Service Timeout"
- "VERSION"="1.22"
- "OSVERSION"="010101"
- "LANGUAGE"="VBScript"
- "TEXT 1"="Timeout (sec)"
- "DESCRIPTION 1"="If this computer is shut down, Windows allows all services a specified time to end themselves."
- "DESCRIPTION 2"="After this time is reached any still running services will be shut down by Windows."
- "DESCRIPTION 3"="The default timeout is 20 seconds."
- "DESCRIPTION 4"="Please note: This settings is system-wide and affects all users on this computer."
- "AUTHOR"="Xteq Systems"
- "CONTACTURL"="http://www.xteq.com"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"=" "
-
-
-
-
- sP="HKLM\System\CurrentControlSet\Control\WaitToKillServiceTimeout"
- Sub Plugin_Initialize
- i=RegReadValue(sp)
- if IsEmpty(i)=false then
- if IsNumeric(i) then
- i=i/1000
- SetUIElement 1,i
- end if
- else
- Disable
- end if
- End Sub
-
- Sub Plugin_CheckData(ElementIndex)
- End Sub
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
- i=GetUIElement(1)
- if len(i)>0 then
- i=i*1000
- Call RegWriteValue(sp,i,1)
- end if
- End Sub
-
- Sub Plugin_Terminate
- End Sub
-
-
-
-